package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.RechargeItem;
import cn.wolfcode.crm.query.PageResult;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.query.RechargeItemQueryObject;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface IRechargeItemService {

    void delete(Long id);

    RechargeItem selectByPrimaryKey(Long id);

    List<RechargeItem> selectAll();


    PageResult query(RechargeItemQueryObject qo);

    void recharge(RechargeItem rechargeItem);

    BigDecimal getTotalExpense();

    Integer getTotalCount();

    List<Map<String,Object>> getTOP();
}
